package cn.edu.scau.cmi.luochenghao.chapter05;

class Student5_11{
	int number;
	Student5_11(int n) {
		number=n;
	}
	void speak() {
		System.out.println("Student类的包名是tom.jiafei,我的学号："+number);
	}
}

public class Example5_11 {
	
	public static void main(String[] args) {
		Student5_11 stu=new Student5_11(10201);
		stu.speak();
		System.out.println("主类的包名也是tom.jiafei");
	}
}
